gh-156226: Fix doubled-word typos in the difflib documetation - #156227
Conversation
- Doc/library/difflib.rst: 'produced in in various formats' - Lib/multiprocessing/resource_tracker.py: 'we encode encode the raw name bytes' - Lib/test/test_exception_group.py: 'Is is also used' -> 'It is also used' - Lib/test/test_unittest/testmock/testhelpers.py: 'isn't isn't callable'
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Documentation build overview
|
BHUVANSH855
left a comment
There was a problem hiding this comment.
CLA test is failing, kindly sign the CLA so that maintainers can start with review process.
picnixz
left a comment
There was a problem hiding this comment.
Only difflib.rst should be modified because other comments are internal and not visible through help(). We don't make those changes because it's considered code churn.
Comments in internal code are not visible through help() and changing them is considered code churn (review by picnixz).
|
Reverted the three Also checking on the CLA status now. |
|
You don't need a NEWS entry as it's a doc only changes |
|
Re-scanned the whole file with a doubled-word + common-misspellings checker (code blocks excluded): found and fixed one more — doubled @picnixz — the two test-comment reverts you asked for were already included in my earlier "Apply review feedback" commit; your review likely crossed paths with that push. Also noticed the NEWS entry was removed from the branch — understood, thanks! |
StanFromIreland
left a comment
There was a problem hiding this comment.
Thank you for checking!
difflib documetation
|
Do difflib.py needs to be updated as well? (we can swipe it as well) |
|
Checked
So |
|
Merged, thanks for checking. |
|
Thanks @zaveshaa for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @zaveshaa for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @zaveshaa for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-156295 is a backport of this pull request to the 3.13 branch. |
|
GH-156296 is a backport of this pull request to the 3.14 branch. |
|
GH-156297 is a backport of this pull request to the 3.15 branch. |
Fixes #156226
Four doubled-word typos found with a regex scan, all verified in context:
Doc/library/difflib.rstLib/multiprocessing/resource_tracker.pyLib/test/test_exception_group.pyLib/test/test_unittest/testmock/testhelpers.pyComments-only changes plus one prose line in docs; no behavior change. Touched
.pyfiles still compile.